# Time: 2021/2/26  15:02

# 基类
class Config(object):
    # 配置项目运行在debug模式下
    DEBUG = False
    TESTING = False
    # 版本
    VERSION = 'beta 1.1'
    # 项目名称
    PROJECTNAME = 'search-py'
    # 端口
    PORT = 4000
    # # set session key
    SECRET_KEY = '1234567890!@#$%^&*()'
    # app=Flask(
# 		__name__,
# 		template_folder='xxx',
# 		static_folder='xxx',
# 		static_url_path='/xxx'
# 	)


# 上线环境环境
class ProductionConfig(Config):
    DEBUG = False
    VERSION = 'Production beta 0.1'
    pass


# 开发环境
class DevelopmentConfig(Config):
    DEBUG = False
    VERSION = 'Production beta 0.1'
    pass


# 测试环境
class TestConfig(Config):
    DEBUG = True
    VERSION = 'Test beta 0.1'
    TESTING = True
